﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YetAnotherChat.Common.Interfaces;
using YetAnotherChat.ChatCore.Models;
using YetAnotherChat.ChatCore;

namespace YetAnotherChat.ChatTopics.Interfaces
{
    public interface IChatTopicRepository: IGenericRepository<ChatTopic>
    {
        ChatMessage[] GetMessageForTopic(Guid topicGuid, DateTime fromTime, DateTime toTime);
        void SaveUserAction(Guid topicGuid, Guid userGuid, DateTime time, ChatTopicAction action);       
    }
}
